<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header">
<link rel="stylesheet" href="/css/fileinput.min.css"/>
</head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
                   		<form class="form-horizontal m-t" id="signupForm" method="post" th:action="@{/ew/warning/doCheck}"  enctype="multipart/form-data">
                        	<input id="warnId" name="warnId" th:value="${warnId}" type="hidden">
							<div class="form-group">
								<label class="col-sm-4 control-label">请选择要导入的excel文件：</label>
								<div class="col-sm-7">
									<input id="excelFile" name="excelFile" class="file-loading" type="file" multiple accept=".xls,.xlsx">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label">模板下载：</label>
								<div class="col-sm-7" id="downTemplate" style="padding-top: 7px;">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-9 col-sm-offset-3">
									<input type="button" class="btn btn-primary" onclick="doCheck();" value="提交">
									<!-- <button type="submit" class="btn btn-primary">提交</button> -->
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script th:inline="javascript"> var ctx = [[@{/}]] ; </script>
	<script type="text/javascript" src="/js/fileinput.min.js"></script>
	<script type="text/javascript" src="/js/locales/zh.js"></script>
	<script type="text/javascript" src="/js/app/ew/warning/dataImport.js"
		th:src="@{/js/app/ew/warning/dataImport.js}"></script>
</body>
</html>